﻿/*多项单选*/
.multi-radio {
    display: inline-block;
    vertical-align: middle;
    *display: inline;
    border-radius: 4px;
}

.multi-radio:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}

.multi-radio .boxwrap {
    display: inline-block;
    vertical-align: middle;
    *display: inline;
}

.multi-radio a {
    display: inline-block;
    margin: 0 -1px -1px 0;
    float: left;
    padding: 5px 15px;
    // height: 20px;
    line-height: 20px;
    border: 1px solid #eee;
    vertical-align: middle;
    color: #333;
    font-size: 100%;
    cursor: pointer;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.multi-radio a:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.multi-radio a:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.multi-radio a:hover {
    background: #C9E1EF;
    text-decoration: none;
}

.multi-radio a:active {
    text-decoration: none;
}

.multi-radio a.selected {
    background: #16a0d3;
    border-color: #1096c7;
    color: #fff;
}
/*单项选择*/
.single-checkbox {
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    *display: inline;
}

.single-checkbox a, .single-checkbox a:visited {
    display: inline-block;
    border: 1px solid #d4d4d4;
    background: #d4d4d4;
    width: 80px;
    vertical-align: middle;
    text-decoration: none;
    border-radius: 4px
}

.single-checkbox a i {
    display: block;
    width: 50%;
    height: 28px;
    line-height: 28px;
    font-style: normal;
    background: #fff;
    color: #333;
    text-align: center;
    border-radius: 4px
}

.single-checkbox a i.on {
    float: right;
    display: none;
}

.single-checkbox a i.off {
    float: left;
    display: block;
}

.single-checkbox a.selected {
    border: 1px solid #16a0d3;
    background: #16a0d3;
}

.single-checkbox a.selected i.on {
    display: block;
}

.single-checkbox a.selected i.off {
    display: none;
}
/*多项选择*/
.multi-checkbox {
    display: inline-block;
    vertical-align: middle;
}

.multi-checkbox:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}

.multi-checkbox .boxwrap {
    display: inline-block;
    vertical-align: middle;
}

.multi-checkbox a {
    display: inline-block;
    float: left;
    margin: 0 -1px 0 0;
    padding: 5px 15px;
    //height: 20px;
    line-height: 20px;
    border: 1px solid #eee;
    vertical-align: middle;
    color: #333;
    font-size: 100%;
    cursor: pointer;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.multi-checkbox a:hover {
    background: #C9E1EF;
    text-decoration: none;
}

.multi-checkbox a:active {
    text-decoration: none;
}

.multi-checkbox a.selected {
    background: #16a0d3;
    border-color: #1096c7;
    color: #fff;
}

.multi-checkbox a:last-child { /*border-right:1px solid #d4d4d4;*/
}
/*多项选择PORP*/
.multi-porp {
}

.multi-porp ul li {
    float: left;
    position: relative;
    margin: 0 5px 5px 0;
    padding: 1px;
    line-height: 20px;
    vertical-align: middle;
}

.multi-porp ul li a {
    display: block;
    padding: 4px 10px;
    color: #666;
    min-width: 10px;
    width: auto !important;
    text-align: center;
    text-decoration: none;
    border: 1px solid #eee;
    cursor: pointer;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.multi-porp ul li i {
    display: none;
    position: absolute;
    right: 1px;
    bottom: 1px;
    width: 14px;
    height: 14px;
    color: #1e99c7;
    font-size: 14px;
    line-height: 1em;
    overflow: hidden;
}

.multi-porp ul li.sys {
    background: #FFFFD0;
}

.multi-porp ul li.selected a {
    margin: -1px;
    color: #333;
    border: 2px solid #1e99c7;
}

.multi-porp ul li.selected i {
    display: block;
}
/*下拉菜单*/
.single-select {
    position: relative;
    display: inline-block;
    margin-right: 5px;
    vertical-align: middle;
    cursor: pointer;
    *float: left;
}

.single-select .boxwrap {
    display: inline-block;
    vertical-align: middle;
}

.single-select .select-tit {
    position: relative;
    display: block;
    margin-bottom: 1px;
    padding: 5px 38px 5px 10px;
    min-width: 40px;
    line-height: 20px;
    //height: 20px;
    border: solid 1px #eee;
    text-decoration: none;
    background: #fff;
    white-space: nowrap;
    word-break: break-all;
    border-radius: 4px
}

.single-select .select-tit span {
    display: inline-block;
    color: #333;
    font-size: 12px;
    vertical-align: middle;
}

.single-select .select-tit i {
    position: absolute;
    right: 0;
    top: 0;
    display: block;
    width: 28px;
    height: 100%;
    border-left: 1px solid #eee;
    color: #666;
    font-size: 10px;
    line-height: 30px;
    text-align: center;
    background: #fafafa;
    -webkit-transform: scale(0.833);
}

.single-select .select-items {
    display: none;
    position: absolute;
    left: 0;
    top: 35px;
    box-shadow: 0px 1px 4px rgba(0,0,0,0.1); /*overflow:hidden;*/
}

.single-select .select-items ul {
    position: relative;
    padding: 5px;
    min-width: 120px;
    max-height: 280px;
    border: 1px solid #eee;
    background: #fff;
    overflow-y: auto;
    overflow-x: hidden;
}

.single-select .select-items ul li {
    display: block;
    padding: 4px 10px;
    line-height: 20px;
    font-size: 12px;
    color: #666;
    white-space: nowrap;
    cursor: pointer;
}

.single-select .select-items ul li:hover {
    color: #fff;
    text-decoration: none;
    background: #16a0d3;
}

.single-select .select-items ul li.selected {
    color: #fff;
    background: #16a0d3;
}

.single-select.up .select-items {
    top: auto;
    bottom: 35px;
}

/* =========================内页通用样式.开始======================= */
.location {
    padding-bottom: 9px;
    border-bottom: solid 1px #eee;
    height: 22px;
    line-height: 22px;
    font-size: 12px;
    color: #686f7f;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.location a {
    display: inline-block;
    color: #686f7f;
    text-decoration: none;
}

.location a:hover {
    color: #0065D9;
    text-decoration: none;
}

.location a i {
    display: inline-block;
    margin-right: 5px;
    width: 12px;
    height: 14px;
    color: #333;
    font-size: 12px;
    line-height: 12px;
    vertical-align: middle;
}

.location a.back {
    margin-right: 15px;
}

.location .arrow {
    display: inline-block;
    margin: auto 0;
    width: 10px;
    height: 14px;
    color: #333;
    font-size: 10px;
    line-height: 12px;
    vertical-align: middle;
    -webkit-transform: scale(0.833);
}

textarea {
    overflow: auto;
}

textarea.input {
    width: 300px;
    height: 65px;
}

.input {
    padding: 5px 4px;
    min-height: 32px;
    line-height: 20px;
    border: 1px solid #eee;
    background: #fff;
    vertical-align: middle;
    color: #333;
    font-size: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    *min-height: 20px;
    border-radius: 4px
}

.input.normal {
    width: 300px;
}

.input.txt {
    width: 200px;
}

.input.small {
    width: 80px;
}

.input:focus {
    background: #FFFBDE;
    border-color: #7BBFF2;
    outline: 2px solid #99D8F5;
}
/*日期样式*/
.date-input {
    position: relative;
    display: inline-block;
    width: 160px;
    height: 32px;
    vertical-align: middle;
    *display: inline;
    border-radius: 4px
}

.date-input i {
    display: block;
    position: absolute;
    top: 10px;
    left: 8px;
    width: 14px;
    height: 14px;
    line-height: 14px;
    color: #535353;
    font-size: 14px;
    text-align: center;
}

.select {
    margin: 1px;
    padding: 4px;
    min-height: 20px;
    line-height: 20px;
    border: 1px solid #eee;
    background: #fff;
    vertical-align: middle;
    color: #333;
    font-size: 100%;
}

.date-input input {
    padding-left: 25px;
    width: 160px;
}

.select1 {
    padding: 1px;
    min-height: 20px;
    line-height: 20px;
    border: 1px solid #eee;
    background: #fff;
    vertical-align: middle;
    color: #333;
    font-size: 100%;
}
/* =========================内页通用样式.结束======================= */


/*上传样式*/
.upload-box {
    position: relative;
    display: inline-block;
    height: 32px;
    vertical-align: middle;
    zoom: 1;
    *display: inline;
}

.upload-box .upload-btn {
    display: inline-block;
    height: 32px;
    zoom: 1;
    *display: inline;
}

.upload-box .upload-progress {
    position: absolute;
    top: 0;
    left: 0;
    padding: 2px 5px;
    width: 115px;
    height: 26px;
    border: 1px solid #d7d7d7;
    background: #fff;
    overflow: hidden;
}

.upload-box .upload-progress .txt {
    display: block;
    padding-right: 10px;
    font-weight: normal;
    font-style: normal;
    font-size: 11px;
    line-height: 18px;
    height: 18px;
    text-overflow: ellipsis;
    overflow: hidden;
}

.upload-box .upload-progress .bar {
    position: relative;
    display: block;
    width: 112px;
    height: 4px;
    border: 1px solid #1da76b;
}

.upload-box .upload-progress .bar b {
    display: block;
    width: 0%;
    height: 4px;
    font-weight: normal;
    text-indent: -99em;
    background: #28B779;
    overflow: hidden;
}

.upload-box .upload-progress .close {
    position: absolute;
    display: block;
    top: 1px;
    right: 1px;
    width: 14px;
    height: 14px;
    line-height: 14px;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
}

.upload-box .upload-progress .close:hover {
    text-decoration: none;
}

.upload-box .upload-progress .close i {
    color: #535353;
    font-size: 10px;
    line-height: 14px;
    -webkit-transform: scale(0.833);
}
/*=====================以下部分是WebUploader必须的====================*/
.webuploader-container {
    position: relative;
}

.webuploader-element-invisible {
    position: absolute !important;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px,1px,1px,1px);
}

.webuploader-pick {
    position: relative;
    display: inline-block;
    width: 65px;
    line-height: 30px;
    height: 30px;
    border: 1px solid #e1e1e1;
    cursor: pointer;
    background: #fff;
    color: #333;
    text-align: center;
    overflow: hidden;
    zoom: 1;
    *display: inline;
    border-radius: 4px;
}

.webuploader-pick-hover {
    background: #fafafa;
}

.webuploader-pick-disable {
    opacity: 0.6;
    pointer-events: none;
}
/*=====================以上部分是WebUploader必须的====================*/